﻿@model InfoTech.VinhSon.Models.UserModel
@{
    ViewBag.Title = "Add User";
    ViewBag.MnuLevel1 = "system";
    ViewBag.MnuLevel2 = "user";
    Layout = "~/Areas/Administrator/Views/Shared/_Layout.cshtml";
}
@section navigation
{
    <ul class="breadcrumbs">
        <li><a href="@Url.Action("Index",
                                 "Dashboard")"><i class="iconfa-home"></i></a><span class="separator">
            </span></li>
        <li><a href="@Url.Action("Index")">User Manager</a><span class="separator"> </span>
        </li>
        <li>Add User</li>
    </ul>
}
@section header
{
    <div class="pageheader">
        <div class="pageicon">
            <span class="iconfa-user"></span>
        </div>
        <div class="pagetitle">
            <h1>
                Add User</h1>
        </div>
    </div>
}
@Html.ValidationSummary()
<div class="widgetbox">
    <h4 class="widgettitle">
        Add User</h4>
    <div class="widgetcontent nopadding">
        <form class="stdform stdform2" method="POST">
        <p>
            <label>
                Username</label>
            <span class="field">
                @Html.TextBoxFor(c => c.Username,
                                     new
                                         {
                                             @class = "input-xlarge",
                                             placeholder = "User Name"
                                         })
                @Html.ValidationMessageFor(c => c.Username)
            </span>
        </p>
        <p>
            <label>
                Password</label>
            <span class="field">
                @Html.PasswordFor(c => c.Password,
                                      new
                                          {
                                              @class = "input-xlarge",
                                              placeholder = "Password"
                                          })
                @Html.ValidationMessageFor(c => c.Password)
            </span>
        </p>
        <p>
            <label>
                Email</label>
            <span class="field">
                @Html.TextBoxFor(c => c.Email,
                                     new
                                         {
                                             @class = "input-xlarge",
                                             placeholder = "Email"
                                         })
                @Html.ValidationMessageFor(c => c.Email)
            </span>
        </p>
        <p>
            <label>
                First Name</label>
            <span class="field">
                @Html.TextBoxFor(c => c.FirstName,
                                     new
                                         {
                                             @class = "input-xlarge",
                                             placeholder = "First Name"
                                         })
                @Html.ValidationMessageFor(c => c.FirstName)
            </span>
        </p>
        <p>
            <label>
                Last Name</label>
            <span class="field">
                @Html.TextBoxFor(c => c.LastName,
                                     new
                                         {
                                             @class = "input-xlarge",
                                             placeholder = "Last Name"
                                         })
                @Html.ValidationMessageFor(c => c.LastName)
            </span>
        </p>
        <p class="stdformbutton">
            <label>
            </label>
            <input type="submit" value="Insert New" class="btn btn-primary" />
            <input type="reset" value="Cancel" class="btn" />
        </p>
        </form>
    </div>
</div>
